package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水质分析报对象 dispatchWaterQualityAnalysis
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchWaterQualityAnalysis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 水质分析报表 */
    private Long waterQualityAnalysisId;

    /** 监测点 ID */
    @Excel(name = "监测点 ID")
    private Long monitoringPointId;

    /** 报表类型 */
    @Excel(name = "报表类型")
    private String reportType;

    /** 监测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "监测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date monitoringTime;

    /** 浊度数值 */
    @Excel(name = "浊度数值")
    private BigDecimal turbidity;

    /** 余氯数值 */
    @Excel(name = "余氯数值")
    private BigDecimal residualChlorine;

    /** 酸碱度数值 */
    @Excel(name = "酸碱度数值")
    private BigDecimal phValue;

    /** 其他水质指标 1 数值 */
    @Excel(name = "其他水质指标 1 数值")
    private BigDecimal otherQualityIndex1;

    /** 其他水质指标 2 数值 */
    @Excel(name = "其他水质指标 2 数值")
    private BigDecimal otherQualityIndex2;

    /** 是否合格 */
    @Excel(name = "是否合格")
    private Integer isQualified;

    /** 异常原因 */
    @Excel(name = "异常原因")
    private String anomalyReason;

    /** 报表查询起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报表查询起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date queryStartTime;

    /** 报表查询结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报表查询结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date queryEndTime;

    /** 报表导出状态 */
    @Excel(name = "报表导出状态")
    private Integer exportStatus;

    /** 报表导出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报表导出时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date exportTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 报表导出文件名 */
    @Excel(name = "报表导出文件名")
    private String exportFileName;

    public void setWaterQualityAnalysisId(Long waterQualityAnalysisId) 
    {
        this.waterQualityAnalysisId = waterQualityAnalysisId;
    }

    public Long getWaterQualityAnalysisId() 
    {
        return waterQualityAnalysisId;
    }
    public void setMonitoringPointId(Long monitoringPointId) 
    {
        this.monitoringPointId = monitoringPointId;
    }

    public Long getMonitoringPointId() 
    {
        return monitoringPointId;
    }
    public void setReportType(String reportType) 
    {
        this.reportType = reportType;
    }

    public String getReportType() 
    {
        return reportType;
    }
    public void setMonitoringTime(Date monitoringTime) 
    {
        this.monitoringTime = monitoringTime;
    }

    public Date getMonitoringTime() 
    {
        return monitoringTime;
    }
    public void setTurbidity(BigDecimal turbidity) 
    {
        this.turbidity = turbidity;
    }

    public BigDecimal getTurbidity() 
    {
        return turbidity;
    }
    public void setResidualChlorine(BigDecimal residualChlorine) 
    {
        this.residualChlorine = residualChlorine;
    }

    public BigDecimal getResidualChlorine() 
    {
        return residualChlorine;
    }
    public void setPhValue(BigDecimal phValue) 
    {
        this.phValue = phValue;
    }

    public BigDecimal getPhValue() 
    {
        return phValue;
    }
    public void setOtherQualityIndex1(BigDecimal otherQualityIndex1) 
    {
        this.otherQualityIndex1 = otherQualityIndex1;
    }

    public BigDecimal getOtherQualityIndex1() 
    {
        return otherQualityIndex1;
    }
    public void setOtherQualityIndex2(BigDecimal otherQualityIndex2) 
    {
        this.otherQualityIndex2 = otherQualityIndex2;
    }

    public BigDecimal getOtherQualityIndex2() 
    {
        return otherQualityIndex2;
    }
    public void setIsQualified(Integer isQualified) 
    {
        this.isQualified = isQualified;
    }

    public Integer getIsQualified() 
    {
        return isQualified;
    }
    public void setAnomalyReason(String anomalyReason) 
    {
        this.anomalyReason = anomalyReason;
    }

    public String getAnomalyReason() 
    {
        return anomalyReason;
    }
    public void setQueryStartTime(Date queryStartTime) 
    {
        this.queryStartTime = queryStartTime;
    }

    public Date getQueryStartTime() 
    {
        return queryStartTime;
    }
    public void setQueryEndTime(Date queryEndTime) 
    {
        this.queryEndTime = queryEndTime;
    }

    public Date getQueryEndTime() 
    {
        return queryEndTime;
    }
    public void setExportStatus(Integer exportStatus) 
    {
        this.exportStatus = exportStatus;
    }

    public Integer getExportStatus() 
    {
        return exportStatus;
    }
    public void setExportTime(Date exportTime) 
    {
        this.exportTime = exportTime;
    }

    public Date getExportTime() 
    {
        return exportTime;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setExportFileName(String exportFileName) 
    {
        this.exportFileName = exportFileName;
    }

    public String getExportFileName() 
    {
        return exportFileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("waterQualityAnalysisId", getWaterQualityAnalysisId())
            .append("monitoringPointId", getMonitoringPointId())
            .append("reportType", getReportType())
            .append("monitoringTime", getMonitoringTime())
            .append("turbidity", getTurbidity())
            .append("residualChlorine", getResidualChlorine())
            .append("phValue", getPhValue())
            .append("otherQualityIndex1", getOtherQualityIndex1())
            .append("otherQualityIndex2", getOtherQualityIndex2())
            .append("isQualified", getIsQualified())
            .append("anomalyReason", getAnomalyReason())
            .append("queryStartTime", getQueryStartTime())
            .append("queryEndTime", getQueryEndTime())
            .append("exportStatus", getExportStatus())
            .append("exportTime", getExportTime())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("exportFileName", getExportFileName())
            .toString();
    }
}
